{% extends "base.html" %}

{% block content %}
<div class="container text-center mt-5">
    <h1>🎉 欢迎, {{ username }}！</h1>
    <p>请选择功能：</p>

    <div class="d-flex justify-content-center flex-wrap gap-3 mt-4">
        <a href="#" class="btn btn-primary btn-lg px-4">📖 知识库问答</a>
        <a href="{{ url_for('words_page') }}" class="btn btn-success btn-lg px-4">🔠 记单词</a>
        <a href="#" class="btn btn-warning btn-lg px-4">📝 每日一题</a>
        <a href="#" class="btn btn-info btn-lg px-4">📌 错题管理</a>
        <a href="#" class="btn btn-dark btn-lg px-4">⏳ 学习计时</a>
    </div>


</div>
{% endblock %}


